<div class="slide-dialog-header">
	<h2>{{title}}</h2>
	<div class="slide-dialog-toolbar">
		<ul>
			<li><span class="ui-btn slide-dialog-close" ng-click="close(false)"><i class="fa fa-remove"></i></span></li>
		</ul>
	</div>
</div>
<div class="slide-dialog-body x-slide-dialog-body">
	<div class="x-data-panel-fixed">
		<form name="form" novalidate="novalidate" ng-submit="submit(form.$valid);">
			<div class="x-data-panel-body">
				<div class="data-form">
					<dl>
						<dt><span class="x-star">*</span>key值：</dt>
						<dd>
							<input type="text" name="key" ng-model="data.sysKey" maxlength="50" class="x-ipt" placeholder="请输入key值" remote="{name: 'org_config_valid', params: {id: data.id}}" required />
							<div class="x-error" ng-if="interacted(form.key)" ng-messages="form.key.$error">
                                <span ng-message="required">key值不能为空</span>
                                <span ng-message="remote">系统配置key值已存在</span>
                            </div>
						</dd>
					</dl>
					<dl>
						<dt><span class="x-star">*</span>value值：</dt>
						<dd>
							<!--<input type="text" name="value" maxlength="50" ng-model="data.sysValue" class="x-ipt" placeholder="请输入value值" required />-->
							<textarea name="value" ng-model="data.sysValue" class="x-ipt" rows="8" required placeholder="请输入value值"></textarea>
							<div class="x-error" ng-if="interacted(form.value)" ng-messages="form.value.$error">
                                <span ng-message="required">value值不能为空</span>
                            </div>
						</dd>
					</dl>
					<dl>
						<dt>描述：</dt>
						<dd><textarea ng-model="data.remark" maxlength="200" class="x-ipt" rows="8" placeholder="请输入描述"></textarea></dd>
					</dl>
				</div>
			</div>
			<div class="x-data-panel-footer">
				<button class="dialog-button cancel-button" type="button" ng-click="close(false)">取消</button><button class="dialog-button" type="submit" ng-disabled="formDisabled">提交</button>
			</div>
		</form>
	</div>
</div>